<template>
  <div class="deploy-con">
    <div class="title animate__animated animate__fadeInDown">
      持续集成、交付、部署
    </div>
    <div
      class="sub-title animate__animated animate__fadeInDown animate__delay-1s"
    >
      通过自动化工具完成代码提交后的打包，测试和发布，大大提高交付效率~~~
    </div>

    <div class="image-con">
      <div class="item-con"></div>
      <div
        class="item-title animate__animated animate__fadeInUp animate__delay-2s"
      >
        前端
      </div>
      <div
        class="image-item animate__animated animate__fadeInUp animate__delay-2s"
        v-for="(item, i) in images"
        :key="i"
      >
        <img style="width: 100%; height: 100%" alt="example" :src="item" />
      </div>
      <div
        class="item-title animate__animated animate__fadeInUp animate__delay-3s"
      >
        后台
      </div>
      <div
        class="image-item animate__animated animate__fadeInUp animate__delay-3s"
        v-for="(item, i) in images2"
        :key="i + 3"
      >
        <img style="width: 100%; height: 100%" alt="example" :src="item" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      images: [
        "./static/images/gitlab.png",
        "./static/images/ansible.png",
        "./static/images/jenkins.png",
      ],
      images2: [
        "./static/images/github.png",
        "./static/images/docker.png",
        "./static/images/jenkins.png",
      ],
    };
  },
};
</script>

<style lang="scss" scoped>
.deploy-con {
  width: 100%;
  height: 100%;
  text-align: center;
  .title {
    font-size: 3rem;
    padding: 1.5rem;
    padding-top: 5rem;
    font-weight: bold;
  }
  .sub-title {
    font-size: 1.5rem;
    padding: 1rem 0;
  }
  .image-con {
    width: 100%;
    height: calc(100% - 25rem);
    display: flex;
    justify-content: center;
    padding-top: 3rem;
    flex-wrap: wrap;
    padding: 3rem 5%;
    padding-left: 8%;
    .item-title {
      height: 45%;
      display: flex;
      align-items: center;
      font-size: 3rem;
    }
    .image-item {
      flex: 1;
      min-width: 30%;
      height: 45%;
      padding: 1% 8%;
    }
  }
}
</style>
